Resolve "Copy and paste shortcuts for snapshots break text copy/paste"

Closes #1750

See merge request main/Sumatra!1523

sumatra-commit: be9c374cd020b2649b41e9c9921123571538c126
2 jobs for master in 7 minutes and 51 seconds (queued for 3 seconds)