Bugfix for inconsistent history state handling with iframes