Blackscreen playing any game RPG MV

Its happening with me when play any game RPG MV. I play during 2 or 3 minutes after freeze and crash or my screen stay with black. All the time i need restart the game or press F5.Someone have any solution or know the problem ?

If you still get sound, its probably Fix the game screen freezes occasionally even though you hear the sounds by krmbn0576 · Pull Request #191 · rpgtkoolmv/corescript · GitHub
You can fix it changing that one line shown in that PR.