Fix hotkey bug when typing while holding