Fix #12: only set canvas context font t once