fixed problem in tree_map where text wouldn't appear in rectangles