fix mouse event