Issue #3294720 by abramm: The attachBehaviors() for document is only called after Big Pipe chunks are processed
mentioned in commit a3c9d9d1