Use clamp.js for line clamping