Make sure the selected text rectangle goes away when switching away from text tool.
This would happen when undoing an added text.