Core/AI: Fix many evade mechanics issues

Thanks @Retriman & TC
Merge pull request #885 from roc13x/master

Core/AI: Fix many evade mechanics issues