Fixed some bugs in vertex point and triangle list