Workaround for OSX to recreate settings window on each show request to prevent the problem with window opening blank with no content after a second hide() call.