Improved resizability of windows and objects