Fixed offset sample where offset is greater than the sample length and there's a loop
Sample swap fix