InputManager updates and mouse polling.