I think it's a lack of panic that does it. In that moment they're afraid of causing property damage and they aren't thinking about their own imminent demise. Probably because they see the gate before they see the train, and once they start thinking about the gate in front of them they get tunnel vision and struggle to switch focus to the more important thing coming at them from the side.