Reset hotkeys state everytime it's `NULL`.

This fixes a SEGFAULT we just encountered.