Fixed an issue where we were saving motion data as integers