ui/dropdown: use `getSubMenuWidth()` for comparison in during `sizeAndCenter()`