Function returning copy of depth pixels instead of a reference
enabling IR correctly