Separate Sprites() code from Canvas()