Fixed a bug in battleship spawning.