re-enabled gif decode error handling