Update Motion.hx

Errors with recent build. Needed to have set/get fields set in the typedef.