If there is only one point, assume the slope is 1. PR #3757 <https://github.com/Genymobile/scrcpy/pull/3757>