Fix getElementRect for iOS8

Scrolling/panning now changes the properties of the rect returned by
Element#getClientRects and Element#getBoundingClientRect.