Cache canvas element to avoid slow Id lookups