Mac desktops shift after running button action

I'm having an issue with running a set of actions after pressing a button. The actions work great except that the Mac desktop I'm on keeps moving to the right or left after running the commands. I have several desktops and I use these to switch between running apps. I use the three finger scroll to scroll between apps in the various desktops. I don't have any shortcuts that would allow CMD+A or CMD+V or CMD+C to cause the desktops to move right or left.

I have ver 3.167 (1340) installed on Mac OS 10.14.6 on the MacBook Pro 2018 with a touch bar.

This is driving me insane. I really love this group of actions but I can't stand how I keep having to move back to the desktops after running the actions.