[[ Cocoa ]] Make sure we only release the last mousedown/dragged event when we get the corresponding up event.