Fix #505
Small fix to get our changes after InitializeComponent();
Merge pull request #522 from AlexanderDzhoganov/505_dialog_size

Fix form scaling issue on linux (#505)