To recreate,
Switch to preemptive mode (does not occur in Reactive only)
While in game view, place the cursor directly over your player.
Switch to map mode, and using WASD, get your cursor to be in the path of train traffic.
You will be hit by a train