Making canvas image and use it as a sprite.