Fixed a glitch in tree views that made selected text impossible to read