Fix for gallery images not clickable when followed by other content.