(Issue #3755) remove old stylesheets before adding new