wog: handle sound looping correctly