Fix crash in GIF window when a GIF isn't set