Fix scale bug in Chrome