fix(render-dom): avoid early termination loop in `isStrictlyInRootScope`
fix(render-dom): avoid early termination loop in `isStrictlyInRootScope`

Move `someClassIsForeign` declaration and function return statement outside loop.

cyclejs/cyclejs,maskinoshita/cyclejs,usm4n/cyclejs,ntilwalli/cyclejs,feliciousx-open-source/cyclejs,feliciousx-open-source/cyclejs,usm4n/cyclejs,staltz/cycle,ntilwalli/cyclejs,cyclejs/cyclejs,maskinoshita/cyclejs,cyclejs/cycle-core,ntilwalli/cyclejs,cyclejs/cyclejs,maskinoshita/cyclejs,feliciousx-open-source/cyclejs,maskinoshita/cyclejs,usm4n/cyclejs,usm4n/cyclejs,feliciousx-open-source/cyclejs,ntilwalli/cyclejs,cyclejs/cycle-core,cyclejs/cyclejs,staltz/cycle