Add pixelRatio for correct pointer coordinates when canvas is scaled