fix mouse lost event recovery