Fix crash dropping to a Konsole with a different PID

Authored by tcanabrava on Jun 26 2019, 1:55 PM.