Otherwise the menu can still be resized to a smaller size when global scale is high. Amends 046581d8 (cherry picked from commit c7baeb8f)