If any of you have turned on Firefox’s anti-fingerprinting option, you will notice the window position each time you launch Firefox is a generic one that seems to not update when you maximize, then close the window.
Believe it or not, this is on PURPOSE.
Viewport resolution is something that can be tracked with analytics, so Firefox decided to prevent that variable from saving each time you exit with the anti-fingerprinting option on.
That’s why I don’t have it turned on, the anti-fingerprinting makes the browser essentially unusable. It’s not entirely clear why they can’t just tell the website you’re using a standard viewport, or perhaps round-off the viewport to the nearest 100 pixel value so your fingerprint is markedly less unique.