Bug fix with the window

The Window class wanted the fullscreen function to be called first.