ghost ai bug when it is killed