I don't know if this helps or not, but this also happens to me on my MacBook Pro (Retina, 15-inch, Mid 2014), and I'm running High Sierra.
Seems to happen when I use a lot of memory? I make music and use Logic X. It happened just now when i fiddled with FaceTime Camera settings, and had logic...