Fix error that might appear when accessing sounds.