While you on about the way your char auto-reacted (well in this case wrongly so)
Its a nice suggestion to make your ranged attacker (wiz with bow in your case i think), the agressive char (he will auto attack) - to do that right click on the facial pic of your char and select agressive. It makes a huge difference to have a bow shooting at any enemy