Fix the image viewer.