Fixes a NULL that occurs when removing an active character.