title: Window border thickness when changing from Maximized to Normal
body: <p>I have WPF application, which main window state I want to change from <code>Maximized</code> to <code>Normal</code>, while keeping actual size. But there is one issue - for some reason (probably default behavior), after switching to <code>Normal</code> state, window always gets 1px border thickness. I can fix this by assigning <code>BorderThickness</code> property of window manually, right after setting <code>WindowState</code> to <code>Normal</code>, but it causes visible flickering. Moreover, if moving from Normal back to <code>Maximized</code>, and then back to Normal, window still gets border thickness, even if it was set to 0 before.</p>
  
  <p>Is there any way to remove this default behavior for getting border thickness when switching to <code>Normal</code>?</p>