Fixed image not updating correctly