fixed up input delay system and hooked it into the player controller