Fixed bug where multiple repos loaded at once

Now, canvas is properly cleared each time a new repo is requested to be
rendered