It was incorrect behavior of contarget_get_mesh_mat in cases when object's Y axis is co-linear to average vertex group normal. Use object's X axis for plane definition in such cases.
It was incorrect behavior of contarget_get_mesh_mat in cases when object's Y axis is co-linear to average vertex group normal. Use object's X axis for plane definition in such cases.