Troops don't have depth- it might just be an issue with the mouse hovering over one.
That's another issue I've never quite been able to pin down, unfortunately. If that happens, just move the mouse down away from enemies and hit the arrow keys to manually select the enemy you want to hit.