you’ll see that above each image in the gallery there is a small live hyperlink area in the centre above each image. My hyperlinks have a coloured background so they are displaying as a small vertical line. This pushes all the gallery images down so the grid layout is uneven.

This is also happening on some blog posts, but the hyperlink is above the image on the left.