Fixed #4453: remove some invalid codes of cc.EditBox