vertex array gen buffer bug