Yeah I know... Sadly, the only way I can fix that is to make the train stop moving entirely!
Actually, since you mentioned the word "hitbox". I figured out a way to make the hitbox not move with the train. Thanks for the feedback!