mousedown/mouseup fix