Fix GIF creation.
Fix wave GIF creation.