Sounds kind of like you are somehow activating target lock. Happens to me a lot by accident because it defaults to one of the L3/R3 buttons on the controllers. May want to check your keybindings.