Themes: Fix setting wallpaper from a legacy theme