fixed small leak when deleting a motion state.