Fix possible notice when images are missing