Basically, I have the seem problem as described here, only with Ubuntu 18.04 (thus no lightdm or sddm which could be restarted):
I am using a Dell laptop with a dell docking station, connected via USB 3. Three external displays are connected (thus I cannot get rid of the NVidia driver) and I get graphical glitches in a rectangular (probably square, hard to say) area around the mouse cursor.
Since logging in doesn't work when the laptop is connected to the docking station anyway, I always connect it after logging in, unplugging the USB 3 cable and plugging it in again doesn't change anything.
Anyone got an idea what could at least be a workaround for Ubuntu 18.04?