Remember window sizes with less updating