visible-mark-move-overlays: rewrite