Fixed image addition bug