Fix for Firefox.