corrected size of sprite so canvas can be used for drawing