Fixes implementation of octree algorithm. Bricks now render in correct locations.