pub const FRAME_TOLERANCE: i32 = 2;Expand description
Each edge may differ by this many screen points and still be the same element.
Two points is the tolerance P2 uses to join an AX window to a CG window.
A larger shift is stale_element. AX rounding inside the tolerance is not.