Fixed #5704: correct some properties of ccui.TextField.