Fixed image caching error