This fixes a soft crash that can happen on room join if you keep the right panel open (which is the default). The `MainSplit` component was not properly testing for the edge cases of when the resize container would be mounted. Fixes https://github.com/vector-im/riot-web/issues/10997