Fixed octree drawing function