Moved canvas setting elsewhere