Changes for JavaFX WebView bug: http://javafx-jira.kenai.com/browse/RT-23846