Pretty photo does not work properly?

Hello! There is a simple website with a photo gallery. To view the photo in full size use the library pretty photo.
But it turns out that the image "shifts", if the page is scrolling.
The page, which works fine:
Page with error:
June 8th 19 at 16:42

Find more questions by tags CSSHTML