Dead enemy bug solved