Image load event in IE8 is buggy, attaching the image to the DOM before applying the src attribute fixes this.
Conversion of non-pixel values to pixel values now takes into account the axis along which the property is measured.
Apparently in IE8 window.window == window, but window.window !== window...
Image getter function and image ratio added for convenience.