Revert "Remove safeguard"

This reverts commit 7dc35ac62a024816e5443af367152c026beb9cd4.
Revert "Remove focus-filter option"

This reverts commit c3854bc78d0b433a5b71f8f65bff351d682947ce.
convert focus-filter to screen option