Take sash size into account get sash size not pane size as its not set yet