Fix hotkey code to work with OBS.