bugfix in compensate motion_orb