Fixed the ImageViewer