Fix bad has(ie) checks causing focus issues with Textbox and Editor widgets. Refs #17311.
(cherry picked from commit af80d059f9070bff17e7cbf5c20daa80007d58f0)