Fixed the usage of InputManager part 2