Fix crash when resizing with no splitters shown