fixing an issue where the css templates and skins were not loaded until after the page draw with the default skin