fix firefox issue with iframewindow