Fix prefs appearance on Windows and Linux