Fix text orientation on Firefox