Just a heads up, I have found that if i zoom in 1 tick from max i don't run outside the fence anymore.

EDIT: Just did as i was posting this. Guess its not 100% effective but helped.