Fix GIF creation.