Fixing a memory leak with mob tracking.

This patches a memory leak involving mob tracking that can be debilitating to servers that allow spawner-based mob farms.