Fixing that firefox bug once and for all!