Removed NullReferenceException when dragging while player ends movement.