Fixes killing enemies multiple times issue