Fix related issue where nested iframes would fail to calculate proper offset