Fixed off-by-one error where new layers were initially the wrong size. Made a canvas expandable in x/y directions, but not depth yet.