Reset last mouse action on release of button.
Somehow this was not included in the previous commit.