Setting browser.urlbar.openViewOnFocus to false fixes it. https://bugzilla.mozilla.org/show_bug.cgi?id=1627858 plans to remove this setting in favor of a user-visible preference that may do about the same thing? I sure hope so.
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!