[Fix] Some fixes for our gif decode implementation

Found these while testing gif backgrounds.

Our gif implementation lacks in quite a few features, like using the disposal method. We should think about substitute it for another implementation/library.