render window sizing properly relative to menu bar