Line joining centres the cursor
Don't segfault on joining non-existant lines