Handle AttachLayout before ResizeMsg. Fixes #3333 for yahoo static suite.
Merge pull request #3336 from glennw/resize-fail

Handle AttachLayout before ResizeMsg. Fixes #3333 for yahoo static suite.