Yea this isn't a bug as such, although the OP didn't really explain it very well.

When a monster hits you in this game you will automatically target it, which was part of the targeting update back in November (this is fine), the problem is that the same behaviour is used on friendly actions as well, such as if a mage casts protect or shell on you, you will automatically target them if you have nothing targeted.

There is no good reason why you would target them in this manner and it needs to be removed from the game, the targeting system is clunky enough without making it worse.