Fixed a minification issue with the fullscreen event. fixes #1282