Fixed the infamous immortal hedgehog bug.