Make sure the settings window is brought up when minimized

Fixes #1804