Add isBehindPlane detection