fixed Firefox popup size issue

Fixes #40