Was there a reason to do this on a `mouseup` and not a `click` event?