live drawing canvas for rects