@ricardoquesada 
This pull request wants to resolve a problem that, when using `EditBox` and touch voice input button. It will cause crash. Full information please refer to [this thread](http://www.cocos2d-x.org/forums/6/topics/36111). 

But i am not sure if invoke this function in every frame will cause problem or not. Could you please help to review it. Thanks.