optimization for CCEditBox UITextField usage

https://github.com/cocos2d/cocos2d-x/issues/2638