Since this is a macOS thread and you’re on a Windows system, the issue you’ve encountered is likely not related. Scrivener is built specifically for each operating system with different development tools.
I have a feeling the issue you’re seeing on a Windows computer is related to the Discord overlay, as in this [Discord Overlay] Control Find went haywire thread.