Added a helper for grabbing and releasing the mouse for the game