Changed input handling to still allow key bindings