Fixed image copy issue