Only redraw the window on a new generation (performance)