Fixed bug where AI would not stop being drawn when dead.