fixed renderedVertices issue