fix bug with baseURI on theme switch
fix bug with url resolving on CssResource.startUse in second time