Usually ties are drawn the right way automagically. However, in some circumstances you may want to override manually.
Use the tie-direction buttons in the note properties menu
Force tie up (combined with start /end tie).
Force tie down (combined with start /end tie).