Main window: fix bug with calculation handle position in horizontal split