Fix a problem rendering images from a data url.