Remove svg elements on destroy method