fix jumping vertices bug