If you have frames in your animation which have a clear mode of Restore Background, you need to set the color that will be used.
In order to use a background color, a global color table must be defined for the animation