Fix pseudoelement rendering (with nth-child selectors etc.)