Fixed overlapping blocks when resizing a row after a new row has been created