Make window, key window when pressing the close button in popout gameplay windows
This makes sure the right window gets closed