Revert "Use standard event listener now that Blockly no longer listens to all mouseup events."

This reverts commit 2f3bd43dfd9cd531d171644c5de19bd27cb619d3.