fixed HotKeyManager::hasPrefixOf