Fixed bug with input manager on game restart