Small fixes to BufferGeometry