Fix some vbo bugs.