fix hotkey handling regression

close #11