Fix Firefox rendering issues.