canvas scaling (thx to sam)