Clean legacy code in ellipse symbol layer