Fix problem with scale