[Fix #1264] Fix an auto-correct bug in MultilineBlockLayout