panels: fix how relative bounds for panes are computed in #makePanedPanel / #createAndArrangePanesFrom