Pathing out of limit

Pathing out of limit

I keep having issues with path creations going beyond my machine's limits, usually in the Z. I can see where technically the probe tip is within the machine volume, but the path is trying to take it so high the head hits the machine hard stop and then causes an out of limit error. Why are my paths being created so high, and is there somewhere I can change that setting?