Add error check to region gain control point selection undo.