Added a jitter when checking mouse cursor.