sprite image passed in can also be a canvas object