mousedown / mouseup fix