I have never noticed it being a problem, and they actually take fewer casualties than denser unit formations. And now that the square is a magician device that makes infantry invulnerable to cavalry just by hitting the button...why even before they are in the square they begin to kill cavalry and take no more casualties....