The size of the lightbox is calculated based on the size of the image. This calculation is wrong if the webiste-s css has box-sizing:border-box.
We now ensure box-sizing:content-box for the lightbox module.