Resizing of gifs now work without having to restart the animation.