Fixes support for Firefox