[mouse] small fixes for mouse support