Apparently by just calling `ME_WrapMarkedParagraphs()` I get other crashes when running a program that makes use of Microsoft Forms. I solved this by calling `ME_UpdateRepaint()`, so basically the fix would be to call `ME_UpdateRepaint()` instead of `editor_ensure_visible`.