Fix pseudoelement rendering for Firefox