Flattening my vectors is breaking them

When I flatten any of my vector icons they break. How can I avoid this? I don’t understand what the issue is.

Here is a before flattening (on the left) and after flattening (on the right) screenshot:

1 Like