fix writing dof values in collada writer