fix leak in rawmouse