Fix the sound repeating bug