Fix title screen crash on Firefox.