Fix #22: BadLocationException when deleting a folded region when word wrap is enabled