Paint the cursor position border if multiple lines are selected

When multi cursors and zero width column selection is involved, there are some edge cases where the border does not include the last selected line in the document. But I guess this implementation should be good enough.
Scroll to first selected line if multiple lines are selected