Small fix in image cache