Fix the popover width overflow when the script path is long