Victor's Fog Crashes (VX Ace)

Hey guys. I've been using Victor's Fog script for a while now, and I have noticed that in maps where it is enabled, when fighting monsters, there's a chance (like 30% or so) for the game to crash. I have experimented a lot so I'm certain that the fog script on its own is the cause. Do you guys have any idea how to fix it?

Your names will be added to my game's (Broken Reality) credits. (PS: debugging doesn't help at all)
bug.PNG

Original thread: https://forums.rpgmakerweb.com/threads/victors-fog-crashes-vx-ace.91603/