fixes #3591 CocosGUI windows.
Merge branch 'master' into Bug#3591
Merge pull request #19 from chengstory/Bug#3591

Bug#3591