Fixed rendering of images.