MainFrm: fix rare black screen issue with madvr

Or more like hack around for now, it needs to be be discussed
with the author of madvr