Fixed clamping for movable pad

Still might need some work on the drag feature