Fix a bug with generating Facebook web preview thumbnails.