Oh, good point. Yes, I can change the behavior by resizing the window. Below a certain horizontal width it works fine; above that width it breaks like I described.
Note that my screen is 1920 pixels wide, and the switchover between the two behaviors seems to occur at around 1820 pixels. Narrower than that and it works fine, wider than that and it breaks.