fix inverseX, inverseY