Updating isPrerender flag for phantom