Window: Fix Close implementation
Close was not being properly called when the exit button was pressed.