Tracking and recording at different resolutions

MRE required. don’t post your entire code. post what’s vital (and executable) to demonstrate the issue.