Fix resize event on X11. Without this change, resizing window larger tha...

...n initial size doesn't work.