Fix mouseup issue not sending the value at that point.