Space ship was exiting screen. With this code it stops.