Work around UI Router bug.