Pixel ratio check for performance.