Changes to ROI rotation: clicking anywhere on the green line now triggers a rotation (rather than just the top endpoint); and the handle now has a minimum length, independent of the size of the rectangle being rotated.