In tuning mode, converting tree mode to text mode doesn;t work well when mouse cursor is on the pane