diff --git a/src/orca/braille.py b/src/orca/braille.py
index 0f3a7fd..ac75568 100644
--- a/src/orca/braille.py
+++ b/src/orca/braille.py
@@ -412,6 +412,10 @@ class Region:
                             cursorPos=cursorOffset,
                             mode=mode)
 
+        # Make sure the cursor is at a realistic spot.
+        #
+        cursorPos = min(cursorPos, len(contracted))
+
         return contracted, inPos, outPos, cursorPos
 
     def displayToBufferOffset(self, display_offset):
