When opening an image that's cutoff by the lower part of the viewport (or that exists entirely below the viewport), the placeholder that gets animated into place causes a scrollbar to appear. This causes the page content to be offset momentarily.
To reproduce: Go to https://yamz.jfagerberg.me/, scroll down until an image is cutoff by the lower half of the viewport (i.e. only a small part of the image is visible, the rest of the image is below the viewport). Click the image. While the animation happens, a scrollbar will appear (or in this case, a secondary scrollbar)

When opening an image that's cutoff by the lower part of the viewport (or that exists entirely below the viewport), the placeholder that gets animated into place causes a scrollbar to appear. This causes the page content to be offset momentarily.
To reproduce: Go to https://yamz.jfagerberg.me/, scroll down until an image is cutoff by the lower half of the viewport (i.e. only a small part of the image is visible, the rest of the image is below the viewport). Click the image. While the animation happens, a scrollbar will appear (or in this case, a secondary scrollbar)