Fixed bug in loading TextBoxView and EmptyBoxView