fix osc periodic mouse behavior