Hotfix for iframe loading before the page has loaded