I have four image galleries on the same page. When I click an image in any of the first three, it only opens the first picture in that gallery. In the fourth gallery, the behaviour is normal. The galleries are created by a JS loop, so I know the markup is the same on them all. Has anyone else encountered this issue?