Complex class, fix when a stroke is empty