The "Maximum Gap" setting for the "Natural Drawing Speed" mode was not working. This was because the code used `math::max` to try and clamp the value to a maximum when it should have used `math::min`. This fixes this issue.
The "Maximum Gap" setting for the "Natural Drawing Speed" mode was not working. This was because the code used `math::max` to try and clamp the value to a maximum when it should have used `math::min`. This fixes this issue.