Fix device pixel ratio