draw a rectangle based on two clicks