Fix issue with some images not being shown on html page