Get width & height depending on the pixel ratio.