Firefox has recently fixed itself for me in that regard, and I'm not quite sure why.

Sure you're running the latest version?