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