Rename main canvas variable names to avoid name conflicts