Fixed bugs with treetap bounding box