fix vertex render bug