Fixes focus gain/lost detection with OpenGL renderers, issue #1483:
http://code.google.com/p/processing/issues/detail?id=1483