Fixed text box bug