Fixed core to use input manager