fix for loading indicator in Safari