Length Measurement Affected by Image Scale After Using cornerstoneWebImageLoader

I was using cornerstoneWadoImageLoader to load images and the Length tool from cornerstone3D annotation tools. After changing the loading methodology to use cornerstoneWebImageLoader by following this code, I found that the Length value is now affected by the image scale value. As a result, I have to divide the length measurement value by the scale.

This adjustment wasn’t required before, so does anyone know why this happens now?