fix mouse up event