Remove unnecessary reordering of window stack