HiDPI detection improvement

There is a warning in the browsers' JS console:
```
Consider using 'dppx' units, as in CSS 'dpi' means dots-per-CSS-inch, not dots-per-physical-inch, so does not correspond to the actual 'dpi' of a screen. In media query expression: only screen and (-webkit-min-device-pixel-ratio: 1.3), only screen and (min-resolution: 124dpi)
```

There is a fix of this defect.