diff --git a/escher/src/layout_field.cpp b/escher/src/layout_field.cpp index a9984846f..df513c08c 100644 --- a/escher/src/layout_field.cpp +++ b/escher/src/layout_field.cpp @@ -296,6 +296,7 @@ CodePoint LayoutField::XNTCodePoint(CodePoint defaultXNTCodePoint) { } void LayoutField::putCursorRightOfLayout() { + m_contentView.cursor()->layout().removeGreySquaresFromAllMatrixAncestors(); m_contentView.setCursor(LayoutCursor(m_contentView.expressionView()->layout(), LayoutCursor::Position::Right)); }