### ImageMagick version

7.1.1-31

### Operating system

Linux

### Operating system, version and so on

centos

### Description

convert origin.gif des.webp

The result des.webp is wrong. You can compare with origin.gif as below.

![image](https://github.com/ImageMagick/ImageMagick/assets/102148284/c1f6c839-a8aa-4078-bcd9-9be0949c6118)

Please help to find out the reason, thanks!

### Steps to Reproduce

convert origin.gif des.webp

### Images

![origin](https://github.com/ImageMagick/ImageMagick/assets/102148284/32acc828-4f4a-4e14-88de-de948ff5721f)

Converting gif to webp does not meet expectations
This is a GitHub Issue
repo:ImageMagick
owner:ImageMagick
Title : Converting gif to webp does not meet expectations
Issue date:

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

7.1.1-31

### Operating system

Linux

### Operating system, version and so on

centos

### Description

convert origin.gif des.webp

The result des.webp is wrong. You can compare with origin.gif as below.

![image](https://github.com/ImageMagick/ImageMagick/assets/102148284/c1f6c839-a8aa-4078-bcd9-9be0949c6118)

Please help to find out the reason, thanks!

### Steps to Reproduce

convert origin.gif des.webp

### Images

![origin](https://github.com/ImageMagick/ImageMagick/assets/102148284/32acc828-4f4a-4e14-88de-de948ff5721f)

--- end body ---
