UE 5.3: Issues with packaged game: broken nanite landscape and shadows

This fix worked for me in the editor, I need to check if it works in a packaged game aswell