Fixed coordinate problem of switched x and y when placing a ship.