Fixed Issue #1365 and save proper sizes of splitters