fix autotest touch hang:run test scene constructor in cocos thread
Merge pull request #6163 from heliclei/fix-autotest

fix autotest touch hang:run test scene constructor in cocos thread