Since PanelMenu.Button started to inherit from St.Widget, the custom _allocate() function isn't called anymore. Simply changing the function to vfunc_allocate() doesn't work as other changes happened in the meantime, so for now just remove it altogether. https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/124