#15234: Fixed event manager key event handling