offset fix for firefox