Fix constant GC runs during live preview (related to issue #40)