Bug fix: sounds not being played sometimes.