Fixed asynchronous bug: redrawing after rerouting