Safe showHtmlInFrame