That's the cause of your visual glitches (and the occasional "window stops working"). Switch to Nvidia's 430 driver and that should improve things considerably. It did for me anyway.
Never have these issues with Firefox on another PC I regularly use with an AMD GPU. Ditto for my Intel-only GPU laptop (though I don't use that much).