On my newish M1 Macbook Pro I was noticing that images which should have been displaying at "original" size were showing at a smaller size instead. In this case a 720x480 image was showing at half that.
Digging into the code in photo.autosize.js I found that when available.dpr = 2 (in my case) then line 10 would return an image half as big as it should
return {w: Math.round(d.w / available.dpr), h: Math.round(d.h / available.dpr)};
For the moment I've modified my installation to just use {w: Math.round(d.w), h: Math.round(d.h)}