fix crash for extrude with closed surface