Prevent reverse direction components from becoming NaN