[DF-3759] Fixed rendering of scene to cubemap