Fix caching images