Added mouse functionality to InputManager