Tasks reposition themselves correctly

The tasks now reposition themselves correctly, and the lines connecting
them are also positioned properly.