Improve behavior of the context (`) mark.

- Avoid a bug where the context mark gets stuck at the document end.
- Update the context mark during a few jump operations.