Fixed the image renderer