HTML - canvas: better scale with translate