Debugged raycasting, AI now doesn't break on multi-enemy fights