fix TreeWindow being buggy with multiple
textFieldUnits/textFieldDimensions