Attempt to be smarter about toggling focus mode after a page loads