Fix curr_pos_set logical error.