moved the mouseup even to the collection of units only