Fix Firefox toolbar jump

Fixes #282
Merge pull request #1 from Jermolene/master

Fix Firefox toolbar jump