Updated code style. Unit stays on top of terrain.
Dragging with the left mouse now draws a rect