Fix a crash when adjusting a splitter's type