Fixed unhandled exception thrown then hotkey fails to unregister (was unregistered earlier)