Refactor #3370: Check resized frame size to avoid QQ browser issue

In addition:
Change commentary for setDesignResolutionSize function