Fixed issues with OverlayRouter.