WallpaperCropper: Fix crash when set .gif as wallpaper