Added bounding function to mouse movement so that ship cannot move outside of the window.