Fix the image loading issue.