I cannot really explain what is going on but two years ago my computer started doing some weird stuff like this and would do it at no certain time. It had a mind of it's own. I thought it was a bug or virus and IT checked and it was clean. Then one day I got the blue screen of death. It was my hard drive that was failing. I had an old 7200 RPM drive. Got a new SSD drive and boom I was all happy and does not have a mind of its own.
Try setting up a new Windows account, logging into that, and using SW to see if it does the same thing.