add old/new scale comparison and emit scaleChanged only if new scale is different than old.