Fixes #12 only for Firefox