MOD: add width and height for canvas element