Width scaling fix for firefox