Reset x after mouseup