Fix gifs showing images from recycled bitmaps.