Fix resizing loop when the Windows Classic theme with some large resolutions have been chosen.
Merge pull request #335 from tadatada/fix_resizing_loop

Fix resizing loop when the Windows Classic theme with some large resolutions have been chosen.