Hey WirosPotHead, thanks for reaching out, welcome to forums and sorry about the issue you're dealing with.
Have you possibly tried disabling Ubisoft Connect in-game overlay by any chance? Also, did you try restoring your settings to default and if that leads to nowhere, did you notice whether there are any particular actions in-game or keys pressed that leads to game being minimized whilst playing?
Let us know and we will take it from there!