CustomTreeControl Escaping edit node label causes inconsistent state on Linux

See the solution here