Use ROOT_URL for iframe instead of localhost.