fixed Firefox popup size issue

Fixes #40
Actually, its also possible this means the POPUP_WIDTH should be adjusted directly? Does it get used elsewhere?

We had another bug report (issue #96) that someone thinks this should fix. If we can clean up this pull request I'm happy to merge it and attempt a release.