fix bug: resize animated gif avatar