Attempt to be smarter about toggling focus mode after a page loads
Tweak for the previous commit