invert coordinate during panto