fix audio glitches for short samples only connecting the panner when it is needed