i have the same issue too with ubuntu 16.04 mate, but also i have changed my distro to Arch Linux and have the same issue, so i dont think its limited to to Ubuntu.
The other issue is that the bug is intermittent. sometimes it happens other times its not. I cannot work out what triggers this bug.
the chip im using is: 00:02.0 VGA compatible controller: Intel Corporation HD Graphics 520 (rev 07) its a new machine.
The work around that Positvek suggested seemed to work.
i have the same issue too with ubuntu 16.04 mate, but also i have changed my distro to Arch Linux and have the same issue, so i dont think its limited to to Ubuntu.
The other issue is that the bug is intermittent. sometimes it happens other times its not. I cannot work out what triggers this bug.
the chip im using is: 00:02.0 VGA compatible controller: Intel Corporation HD Graphics 520 (rev 07) its a new machine.
The work around that Positvek suggested seemed to work.