fixed styleshhet display bug from non-root pages