Clean up QuadtreePrimitive example.