fixing canvas sizing