Used to happen to me too, the solution was to hotstage the second stage like in real life, basically starting the second stage engine at t-minus 2-3 seconds before first stage shutdown and staging as soon as MECO happens. This allows the stack to maintain constant acceleration and prevents it from tumbling, which I assume happens because of the sudden deceleration from separation.