Added support for devices with a devicePixelRatio > 1, like all devices with so called "retina" screens.