fix shortcut issue for multiple iframes