Change canvas matrix