Fix that cannot load loading.gif in chrome due to previous change