Fix user stylesheet regression due to shadow DOM PR

The solution for rendering global style tags with the shadow DOM disabled disrupted the order of the cascade. This is a different approach that preserves it.