[Bug 789822] New: scr background agent loses lines