Less jitter when resizing a window to fit.