Complete mouseup/mousedown fix.