Added partial support for HTML5 fullscreen API.