Fix crash when removing a global source with no scenes