fixed ship moving out of view, needs refactoring