title: Mouseup event not triggering when no drag is happening
body: <p>I have a program at <a href="https://jsfiddle.net/Aplet123/fyoqjgbp/16/" rel="nofollow noreferrer">this fiddle</a> where sometimes the <code>mouseup</code> event doesn't trigger. I tried everything I could do to prevent dragging, by putting <code>draggable="false"</code> on every element, by calling <code>e.preventDefault()</code> in my mousedown function, and adding a <code>dragend</code> event listener. However, the <code>dragend</code> event doesn't trigger and mouseup still fails to trigger. Any help would be appreciated.</p>