Fixed undo short cut bug.