I fixed the AI not moving to melee distance problem