This reverts commit e24e34f6f3.
e24e34f6f3
Remove nonextant matrix positions from the layout data.
Co-authored-by: xia0 <xiao@morgan.net.au>