I've been struggling to figure out what's causing this and the solution for it. Basically, when in fullscreen mode and a stream switch happens (I think regardless of whether the stream has the same height/width as the old), the current layout is ignored. So a movie playing in letterbox mode and centered will shrink and move to the top left corner of the screen.
I'm listening for the mediaSizeChange event on the player and notice that the newWidth/Height are equal to 0 when the stream switching is complete. Is this a possible cause? And what would be the solution?