Tweak capture of rects for detail transition to avoid getting bad ones. Fix a couple layout positioning issues.
Fix layout flags on page control.