Studio randomly flickering black

Does the Optimized for Windowed Games setting have any effect ? 24H2 seems to have a lot of issues.