Minor changes to inputManager