Made InputManager.tick a little more readable.