Handle Y axis inversion.