 In the 1st case, the windows correctly switch orientation. In the second case, they remain their original size, even though they should switch.