text_item.py: fix: bug with root input bar
spell_correction.py: fix: bug with root input bar