Graphical problems when MacVim is in fullscreen

Can't really give a way to reproduce this, but sometimes, when switching between fullscreen apps, MacVim has a seizure.

screen shot 2018-04-14 at 21 11 24

Happened to me three times, and the pattern of the "bug" is not the same. When I took the screenshot, every transparent pixel was black. I have no idea why.

It's not a really important bug, as it disappears as soon as I click on the screen.