views: add better `View._ensureElement`