Fixed exception when last tab in a splitter group is closed