tiny fixes to AI isPathBlocked