Fix touch angle being calculated as NaN.