apply cg2sandbox shader fix (mac issue)