Assign pane container before emitting onDidAddPane events

Fixes #3972