Core/AI: Fix many evade mechanics issues

Thanks Retriman & TC