Merge "Enter RectangleMode when the clip region is a rectangle"