sound: make RepeatingSound work