Core/BossAI: Fix a typo in CheckBoundary

Method was using "me" (the boss) instead of the function's argument

Props to @Horn for finding the 4 year's old error

Ref #7194