Fix text ignore content size issue

This patch fix https://github.com/cocos2d/cocos2d-x/issues/8665