fix TryMoveToIndex when false