fixed resizing windows