Fix image data remaining stale in cache.