Panel settings walking ants redraw issues
It seems that in xfce4-panel (4.16.5, tested on Fedora 36) there are some redraw issues with respect to the panel's border (see screenshot). After closing the settings dialog there is a red border around most/many plugins. I presume this comes from themes setting a border or something like that. Maybe the CSS overrides can be made more robust or we may need to store/restore the stylecontext differently.
Gtk-theme in use is https://github.com/lassekongo83/adw-gtk3