Fix issue 139: BoundingBoxTree.compute_closest_entity gives wrong distance in 2D