Added on_current_point to rail movement.