Webclient: fix selection reset (#523).

The selection is not reset on mouseup when canvas move was in progress but aborted through mouse leaving the canvas.

See #523.