fix loading gif in chrome