It is easy to reproduce: open 4 apps, in homescreen in landscape. Then enter one of the app, switch back to portait, return to homescreen => it doesn't update the layout, so tries to show the 4 app widget on a single line, but only the 2 in the middle fit the screen.