Correct window stacking.