[undistRectTS] Fix a couple of bugs

- Remove debug prints
- Fix ts.X to self.ts.X