fix mouse performance