FIX: Level crossings would sometimes become stuck.