Right, could we mitigate the effect of that by caching the value?
Or will it be problematic to know if this changes: https://github.com/mozilla/pdf.js/blob/master/src/display/canvas.js#L2143.