Changed mapping generator cancel method so it cancels the current command, not control.