Added the functionality to draw Sprites