Use explicit HTMLFrameElementBase cast and introduce toHTMLFrameElementBase