Make canvas transform matrix account for devicePixelRatio