Use a more supported canvas method