Merge pull request #12794 from TryTwo/PR_Windows_Initialize_Fix MainWindow, Bugfix: Initialize geometries before calling GetWindowSystemInfo