Be more resistant to invalid wallpaper image formats.