Shotcut lagging when clicking back into the app

This reminds me of strange behavior the people see when external applications are interfering. For example antivrius or Grammarly

If you have grammarly, try to remove it.
If you have anti-virus programs running, temporarily disable them. If disabling antivirus helps reduce the lag, there are usually settings in the antivirus programs to make exceptions for specific programs.