added ship peak and OutOfScreen function for moveable objects.