scale main canvas