Cannot screenshot in game (works in editor)

Whenever I test in the editor, the following node works perfectly to take a screenshot with the customrenderdepth mask:

284661-annotation-2019-08-09-122209.png

However when I package into shipping build the mask doesn’t work, and it’s very washed out:
In Game Screenshot:

284665-ingame.png

In Editor Screenshot:

Any clue as to what’s happening?