Changed deallocateGeometry() to delete the correct buffers

I noticed that dispose() wasn't cleaning up my geometry anymore and it
looks like deallocateGeometry() was expecting the buffers to be directly
on the geometry instead of off the geometryGroups property. So I'm not
sure if my fix is correct but it seems to work.