When a formation that is given the order to attack another formation is already in range the formation controller of the target is passed as the target for its members.
However, when the formation is not yet in range, which is the case usually, the entity itself is passed as the target.
This diff changes that, so that in both cases the formation controller of the target is passed to the members for attacking.
This ensures that when attacking a formation with another formation the members of the formation will pick the closes member, thus showing much nicer behaviour.
A caveat could be that a player will be unable to select a specific entity to attack, since the members will pick a target themselves (which was already the case when the formation was in range already).