Check for event.buttons===0 on mousemove
When the mousebutton is released outside of the element or outside the browser window things become messy.
The event.buttons property does not exists for the actual Safari version.
When the mousebutton is released outside of the element or outside the browser window things become messy.
The event.buttons property does not exists for the actual Safari version.