fix shortcut event
fix mode
opengl context assert