Account for top bar in positioning dialog.