Ensure popstates are routed.