added dashed line guide when drawing rectlines