The last four parameters to drawImage are in the wrong order. It should be:
ctxBg.drawImage(imgSprite, sourceX,sourceY,sourceWidth,sourceHeight,
destX,destY,destWidth,destHeight); // x,y before width,height
See CanvasRenderingContext2D drawImage() for all the overloads and interactive examples.