The example case is just a cube that is a direct child of the avatar object.
The default run forward animation causes this sort of motion on the cube:
This is custom locomotion where the issue is not present:

Photo Viewer

View photos in a modal