fix(core): Fixed val not getting initialized correctly
fix(macPopover): Fixed compile issue replacing original popover element with comments