Fixed an assumption in vertex count calculation of VBO's