Generating proper .gif but deserialization from get-pixels is off