Fix size of the window. (see #11418)
Merge pull request #2008 from jburel/viewer-size_dev5_0_0

Fix size of the window. (see #11418)