Fixes compact for firefox.