In visuallization GUI, fix the surface saving issues with .ply and .stl