Fix VAO crash.