Clamp source position to the buffer size when it stops