Avoid blank img while gif loading