Fixes case with two iframes on a page; passing childId as the element id.