Small fixes around firefox.