do-layout on frame activation