Same here:
We will need to use `window.devicePixelRatio` instead of `window.innerWidth/320`
That was used because in the "old times" devicePixelRatio always returned  1