Fixed bufferSubData call for the vertices