commouse: handle framing errors

Reflect changes in sermouse.c