Fixed problem with galleries breaking thumbnails.