Bugfix: InputManager buffer should not be fully cleared.