Fixed material error on new geometry.