I have my application in fullscreen interactive mode and
would like to prevent the escape key from setting the display mode
to normal. The problem is, when the escape key is pressed, the
event handler used to override the escape key occurs after the
display mode is set to normal: