Disable preview windows to avoid showing the wrong theme

This fixes the flash of the light theme when you change the theme or
language settings, as @McLoo described in #1322.