Solved an issue in collision face detection