Fix broken Giflike implementation.