0d0f754aad
Pressing an holding a mouse button and then moving the mouse out of the canvas before releasing meant that onmouseup was never triggered.