Lock the tether when the mouse leaves the canvas.

Fixes a vulnerability disclosed by @theshillito in
https://vine.co/v/OXvd9MXMApW