fixed issue with ai path finding and added workaround for helicopters