Fixes to octree loader