Fix unexpected messages in TextBlockCursorPainter specs