better mouse move threshold check