Fixed drag distance calculation logic error.