Issue 6557: Make it also work for iframes