Clicking on the head of a large unit could sometimes not select it because the distance from the head to its origin was too large. Now the game only checks the 2D xz distance.
Same as previous commit. Forgot to edit the same issue at another part of the code