svg export with closed shapes