I am creating a walkable path for my lens. However while walking along the path, the device tracking sometimes resets, and my entire scene moves around and/or scales. As an extreme example, this happens if I violently shake my phone. It's expected for the scene to move after that, but I am holding my phone very steadily and yet it still "loses" the track and my entire lens shifts position and "slips".
How can I freeze the tracking once it's been initialized?