Considering pixel ratio