Wow a bug! got into a room that had an extra mini boss that was inside another mini boss so I got owned. I don't really know what causes it so it might be hard to fix.
If you want to absolutely destroy your computer, get the level three turret, minigun, and shoot at a tanky worm. While being a good strategy, it sure does go from being smooth to one frame a second pretty much instantly for a few seconds.