inputmanager is now reworked and is working as intended