Fix QuadtreePrimitive example.