### ImageMagick version

7.1.1-8 Q16-HDRI x86_64 21129 https://imagemagick.org

### Operating system

Linux

### Operating system, version and so on

fedora 38

### Description

I have animated WEBP. Command to resize it as below. Result is a corrupted image
convert fontanna.webp -coalesce -resize 400x711 -layers Optimize fontanna1.webp

### Steps to Reproduce

1. convert original animated WEBP with command below
convert fontanna.webp -coalesce -resize 400x711 -layers Optimize fontanna1.webp

2. visually compare original and resized image

### Images

unzip
[fontanna.zip](https://github.com/ImageMagick/ImageMagick/files/11598059/fontanna.zip)

Resizing animated WEBP - corrupted result
This is a GitHub Issue
repo:ImageMagick
owner:ImageMagick
Title : Resizing animated WEBP - corrupted result
Issue date:

--- start body ---
### ImageMagick version

7.1.1-8 Q16-HDRI x86_64 21129 https://imagemagick.org

### Operating system

Linux

### Operating system, version and so on

fedora 38

### Description

I have animated WEBP. Command to resize it as below. Result is a corrupted image
convert fontanna.webp -coalesce -resize 400x711 -layers Optimize fontanna1.webp

### Steps to Reproduce

1. convert original animated WEBP with command below
convert fontanna.webp -coalesce -resize 400x711 -layers Optimize fontanna1.webp

2. visually compare original and resized image

### Images

unzip
[fontanna.zip](https://github.com/ImageMagick/ImageMagick/files/11598059/fontanna.zip)

--- end body ---
