Lock scale flipping

Lock condition under variable, to do not flip accidentally objects when scaling them