The location of the mouse will now also be updated while the mouse is being dragged.