Fixed image inversion