Small fixes for firefox.