Support window resizing. [90%]