Wayland requires the windows surface size is divisible by the surface scale. This wasn't guaranteed when creating new temporary windows. This meant opening the preferences could exit Blender with an error with Hi-DPI configurations.