fixed handling of GL_VERTEX_ARRAY client state