Just echoing this problem and linking to a similar thread - this is still an issue on 2.0 and occurs regardless of auto-run mode or legacy terminal use.
This was an issue I saw <1.5, was resolved in 1.6.x, and then started happening again in 1.7.x and 2.0.x . Only reverting to latest 1.6 fixes the issue consistently.