Fix IE 10 styles generation for shadow dom