onAppear called twice when inside a ZStack

It seems like views inside a ZStack has onAppear called twice. I suspect this is a bug, but does anyone know a workaround?

I have network calls that are invoked on onAppear, so they are all called twice. :(
onAppear called twice when inside a ZStack
 
 
Q