Add minimal canvas code