Fixed transposed x and y coordinates
Merge pull request #970 from mkienenb/PR-fix-MultiRowLayout-bug

Fixed transposed x and y coordinates