Fixed image caching issue