Fix scope for live-preview