if distance > maxDistance, the target cursor is hidden
if distance < minDistance, the target cursor is hidden
if distance > maxDistance, the target cursor is hidden