issue #19800: preferences not always showing