ERT-735 Take vertical scroll bar into account when calculating window width.