Fix quick keys being triggered when in UI mode