Window.devicePixelRatio

Resolve IE7 oddity