Improvement of canvas and transformation