Added automatic canvas creation