Fix .gif support