mouse: remove some dead code in prev commit