Fixes the image cache for css-defined images.