fix canvas size when scaling with css by using context.scale()