Merge "Reland "SF: Set an initial mode [...] for external displays"" into main