fix :root selector problem in styleBox situation