Handle the draw priorities of multiple windows.