@John Scalo is right, your problem is not to first find the plane, but that your rendering engine does not know that part of your green window is closed (hidden) by a real object.
"... to somehow overcome this"
, , , "" - - .
( , SceneKit). 3D-, , ; "", ( ) 3D-. , , ( Apple ), .
, , , , :
1:1. , (/ ), . 2. , , , .
2. "" ARAnchor, " ", () .
3: ( , , ) "" (, / - ) " " .
X: 1 - 2 - 3.
, , / ARKit , .