Fixed the image rendering.