If the canvas css transform does not match the frameState pixelRatio the drawing is at the wrong size.