Fixed faulty variable name
Resizing canvases