Applied window fixed resizing patch from Sebastian Delatorre.

git-svn-id: http://urho3d.googlecode.com/svn/trunk@2478 3bd170d8-ddcf-f82c-f583-7a401ccf5608