Fixed a bug where the game would occasionally crash if roughly more than 100 monsters were active at any given time.