It’s a known bug so make sure you would have your settings set to full screen.
You might be having permissions issues with the game when trying to write files.
Open RoR as Admin.
If that doest work, you should temporarily disable any antivirus you have.