draw_all_windows() only starts drawing cycle if any window is actually visible.