/Engine/Source/Runtime/UMG/Public/Components/MenuAnchor.h
Initialize ShouldDeferPaintingAfterWindowContent in the constructor before theSWidgetis constructed.
void InitShouldDeferPaintingAfterWindowContent ( bool InShouldDeferPaintingAfterWindowContent )