Fixing subtle bug w/ calling getSources from a newSource event listener