I'll play around with that when I've got some time.
I've got it fixed, but can't post it here till after the jam per the rules. In game, the crashing seems to happen when the timer gets to 2 minutes in a level, so you should be able to pause and retry the level before this happens. You can see the timer in "Time Attack" mode, it's not visible in "Par" but it's still running.