Don't crash when copying an animated GIF from the image preview.