Allow for floating pixelratios. (Happens when people use browser zoom)