fixed interpolationSteps bug that ignore obstacle checking when dx or dy == 0.