Fix #2979578 unable to open second pcmanfm instance in specific case.