Add reset image src functionality for animated gifs.