Added threshold for maximal distance the mouse is allowed to jump in
frames where we have no idea about its position