Ensuring dashed borders for focused elements (as in previous versions)