The 4th coming, screen freeze but game still running

Hello, I’m trying to play an old game called “The 4th Coming”. The game works well, but sometimes the screen freezes randomly. I can hear the game in the background and trigger spells and things like that, but the screen is just frozen.

What could be the cause, a suggestion on what I could check?