Fixed image saving feature.