Fixed A Bug in Meshing Curved Surfaces