Event: fixing incorrect window bug with scrollTop/Left in iframes

The iframe was getting the parent window's value for pageXOffset and pageYOffset, see #1945.

Aim for consistency with the surrounding code first and foremost. We'll switch to something when we switch to it, in a dedicated commit.