Themes: Fix setting wallpaper from a legacy theme - Add needed code