Find tree height and use it to adjust the height of the canvas.
Movement line setup
Drawing movement lines