caption height should include the width of the border atop the window