duplicate method _addMouseupHandler