Added `window.devicePixelRatio` to Firefox 18 detection