As this just wraps `getElementById` there is no guarantee it returns a canvas, or anything at all for that matter.