Fix bad has(ie) check in IE11 with older versions of focus.js, which invoked attachEvent. Refs #17311.
(cherry picked from commit 6e032cae2ef959edcd5ee552ba58fdf397fa5ddf)