Fix resizing near the menu button in the title bar.