Fixed #4723:fix null _texture bug for TextFieldTTF and refactor ctor function