Fix variable scoping for selection preview