changed dimensions of canvas