Fix transitions and fonts on Firefox.