BUG #14074. Ensure selection doesn't affect undo-stack.

Selection/Picking was affecting the undo-stack. This patch fixes that issue.

Change-Id: I9adc189d06b679d9ffb6133ecd30ee5e816f997b
Merge topic '14074_fix_undo_redo_issues' into next

f1d2687 BUG #14074. Ensure selection doesn't affect undo-stack.