Remove unwanted svg attributes