don't render component if gif is not loaded