Bug 963829 - Include CSS/SVG transformations when calculating OFFSCREEN state. r=roc