Fixed an issue with soldiers appearing from outside the screen on Safari.