fix spin loader for safari