Let me add that this is not MPUI's fault, because it can't know the movie's dimensions in the beginning (when supplying the window's coordinates). The window has to be resized after we get the movie's dimensions, but no such event is triggered.