Removes label ghosting when a tree is created.