Stop ship when hitting the edge.