Fix logic for killing photons