Level 4 (Windows, Firefox), but not limited to that level; the same thing happens on level 2. It happens consistently (i.e., any time I get myself into an unwinnable position).
My bad, im able to replicate the issue. I'll do a fix and post aagain when its updated. Thanks for highlighting @Tahnan
Issue fixed and new build uploaded, please try again, And thanks again for reporting.