Merge "Perform all layouts within first loop." into jb-mr1-dev