fix devicePixelRatio on high dpi
make sure devicePixelRatio is never less than 1 for "plasma desktop" style, take hints from plasmacore's units