allowed Window to redraw dirty content to prevent starving