Recalculating layout after the window's style mask is changed

- Prior to this, if the window was borderless and you changed the style mask to re-show the titlebar, you'd be left with a white rectangle in place of the title bar.