Changed how I was encoding the GIF (using a different class), now it
actually encodes it in a functional way.