The statement is made in the past tense with respect to the present during that time, which can be figured due to the use of “while”, hence as it is in the past tense with respect to the present, it is correct to say that he dropped it while he “was boarding” the bus, as it is in the past tense.