Fix delayed trains breaking layout