This method makes sure the LastInput property value has up-to-date information describing this mouse input event. It then calls DoMouseUp to allow tools to handle the input event, and then finally calls the base method to invoke all of the MouseUp event handlers.