This happens fairly often but isn't 100% reproducable. Seems to be easiest to trigger by "shaking" the window after mousing down on the title bar.
Possibly related:
- Window flickers black when scrolling
UNSUPPORTED (log once): setPrimitiveRestartEnabled:index: unsupported! message on stdout