Fix the issue of image not appearing.