fixed bug in Layout, re: offset layouts