This is working as expected. When the UI Builder window is docked in the main application window, then maximized, the GameView window will be closed. The GameView window will then report a default size of 640 x 480.
The best way to avoid this is to keep the UI Builder undocked to maximize it.