canvas image draw fix - Codesandbox

canvas image draw fix - Codesandbox