Prevent an infinite loop in <cr-view> with Shadow DOM polyfill