fixed crash cause by addChild on win 7.
Merge pull request #7274 from Dhilan007/v3-320beta

fixed crash cause by addChild on win 7.