Enemy detection layer bug solved.