fixed image inversion on MLX viewer -Riley