Fixes the problem of playing sound.