Fix bug for imported stylesheets