Fixed #5579: Reverse changes from cocos player