Fix Firefox formatting problems