Fixed a bug of ccui.TextField

Fixed a bug of ccui.TextField