I actually solved it by finding a similar post on this forum. Just turn off “Alpha Output” in the Default Settings of your Project Settings.
Thanks to this post:
https://forums.unrealengine.com/t/depth-of-field-issue-5-5-new-black-edge-artifacts/2224185