Bug fix: gl.EnableClientState should not be called