You also need to handle LATCHING style in the mouse release handler.