Fix for not removing stylesheets on destroy