Fix bug while loading external stylesheet.