Fix: referred to wrong canvas variable.