Use border when line is selected.

Fixes #448