Add box selection to the move mode of the vector clip tool

Closes #1404.
Fix crash when smoothing freehand curves