Fixed in frontend mode the method setStaticUrls form class Contao/Controller.
The bug don't set the static url from the settings of root page.