Mouse move optimization