Fix preview while editing pages.