WPF, window doesn't open with specified resolution - C#