Fix updating thumbnail images.