I think this function also needs `return unless getPref('prevent_autofocus')`