Capturing - Fix crash with capturing a dead building