Toggling from fullscreen to windowed fix

Issue: Toggling from fullscreen to windowed mode didn't work as the
window state was not being updated

Fix: Ensure window is updated in next Update by setting
updateClientBounds to true
Toggling from fullscreen to windowed fix

Moving the clientRectangle change to after the WindowState change makes
sure that the window size is set to the BackBuffer size when leaving
fullscreen