fixed random stopping issue that happened when position was changed without change in value