Remove superfluous doLayouts. Fixes issue #278.
Merge pull request #290 from aodn/issue_278

Issue #278.