enemy and player collide crash fixed