In your 2D scene render camera there is an option “Hidden actors”. Add the skylight/skymesh and sky atmosphere to the actors you want to hide and the problem will go away for the purpose of rendering a minimap.