Fixing crash when missing cached image.