https://gitlab.com/gnachman/iterm2/issues/4492
However, you could probably hack together a fix pretty easily with this:
https://github.com/BlueM/cliclick
Make it press cmd-shift-e as a Profile command.