Fixed weird tree view display bug.