Fix issue #20, making InputManager useful.