fix for enemies being removed