Crop the animation canvas
The crop rectangle identifies the same fixed region of the GIF canvas in every frame. Pixels outside that rectangle are excluded from the result, while pixels inside it retain their positions relative to the new upper-left corner. Because the rectangle does not follow moving content, the full sequence should be checked before choosing a tight crop.