Merge pull request #1430 from pandamicro/develop

Refactor #3370: refactor resizeWithBrowserSize to _resizeWithBrowserSize