Add parameters canvas and scale to Input