Bind the event handler for mouseup in the 'startRectDraw' method.