Thumbnail caption fix