Action targeting targets corpses, candles, other things I can't cast at, causing self targeting

There are some spells e.g. Penance that are both damage and heal spells. However, action targeting likes to target things that I can’t damage, candles and corpses being notable examples, and so when I think I’m damaging a mob I’m actually pointlessly healing myself.

Please make action targeting target things I can damage.