Fixes the popover button.