Fix bugs for LocalizableTextBox