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

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.