use window availability for dynamic IFrames (fix Qt5.4 editor preview)