Not entirely sure what to call my topic title, but I hope that's the gist of it.

Everytime I target an enemy that's like 12 km+ away from me, it's just fine. But once I actually move in to attack, 50 % of the time, I'm suddenly not targeting the enemy anymore and I have to click on him again! This happens all the time for me and it's really irritating since I'm too focused in combat to think about having to click the enemy over and over again...
Could anyone shed some light on this for me, please?
Comments
Which, of course, means more targetting.
It happens as well on ground missions when I switch weapons.
Never reported because I didn't know if it was a bug.
Either of these could cause you to switch targets.