fix canvas width/height